<?php

namespace Index\Controller;


class IndexController extends CommonController {
	public function index() {
		
		$this->display();
	}
	public function login() {
		$user = M ( 'user' );
		$this->login = $user->where ( array (
				'username' => 'admin' 
		) )->select ();
		//echo $user->_sql ();
	 	$this->display();
	}
}